package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.Mouth;
import cn.wolfcode.luowowo.article.mapper.MouthMapper;
import cn.wolfcode.luowowo.article.service.IMouthService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;
import java.util.List;

@Service
public class MouthServiceImpl implements IMouthService {

    @Autowired
    private MouthMapper mouthMapper;


    @Override
    public List<Mouth> list() {
        List<Mouth> mouths = mouthMapper.selectAll();
        return mouths;
    }

    @Override
    public List<Mouth> selectList() {
        List<Mouth> mouths = mouthMapper.selectAll();
        return mouths;
    }
}
